#include <stdio.h>

int main(){
    int n;
    printf("Enter an integer: ");
    scanf("%d",&n);
    int i=n;
    int reversed=0;
    int remainder;
    while(i!=0){
        remainder=i%10;
        reversed*=10;
        reversed+=remainder;
        i/=10;
    }
    if(reversed==n){
        printf("True\n");
    }else{
        printf("False\n");
    }
    return 0;
}

